// const { time } = require("./constant")

const DateTime=(time)=>{
    const y=new Date(time).getFullYear()
    const m=new Date(time).getMonth()+1
    const d=new Date(time).getDate()
    

    return y+'-'+m+'-'+d
}
module.exports = { 
    DateTime
 }